import request from '@/utils/request'

// 科技产业服务港、云课堂、服务案例、资讯数量
export function listSuz(types) {
  return request({
    url: '/informfrontend/statistics/count?type=' + types,
    method: 'get',
    // params: types
  })
}
//区域营商环境统计
export function statTics() {
  return request({
    url: '/busfront/businessIntro/statistics',
    method: 'get',
  })
}
//统计产业物理空间信息
export function getTisTics() {
  return request({
    url: '/industry/spaceIndustry/statistics',
    method: 'get',
  })
}
//用户统计
export function userCount(types) {
  return request({
    url: '/informfrontend/statistics/userCount?type=' + types,
    method: 'get',
    // params: types
  })
}
//产业物理空间 数据对比
export function spatialComparison () {
  return request({
    url: '/industry/spaceIndustry/dataComparison',
    method: 'get',
    // params: types
  })
}
//企业用户
export function qiyUser(types) {
  return request({
    url: '/informfrontend/statistics/enterprise?type=' + types,
    method: 'get',
  })
}
//政府用戶
export function zfUser(types) {
  return request({
    url: '/informfrontend/statistics/government?type=' + types,
    method: 'get',
  })
}
//专辑
export function zjUser(types) {
  return request({
    url: '/informfrontend/statistics/album?type=' + types,
    method: 'get',
  })
}
//服务案例
export function fwUser(types) {
  return request({
    url: '/informfrontend/statistics/case?type=' + types,
    method: 'get',
  })
}
//资讯
export function zxUser(types) {
  return request({
    url: '/informfrontend/statistics/information?type=' + types,
    method: 'get',
  })
}
//频道浏览分析
export function getpdFx(types) {
  return request({
    url: '/informfrontend/statistics/lookCount?type=' + types,
    method: 'get',
  })
}
//提交需求分析
export function getyxkhfx() {
  return request({
    url: '/busfront/businessIntro/getClickRate',
    method: 'get',
  })
}
//提交需求分析
export function getNeed(types) {
  return request({
    url: '/informfrontend/statistics/need?type=' + types,
    method: 'get',
  })
}
//
export function getCpxx() {
  return request({
    url: '/industry/spaceIndustry/numberOfClicks',
    method: 'get',
  })
}
//产业物理空间统计用户
export function getWlkjtj() {
  return request({
    url: '/industry/spaceIndustry/dataOverview',
    method: 'get',
  })
}
//区域营商环境统计
export function getQuyu() {
  return request({
    url: '/busfront/businessIntro/statistics',
    method: 'get',
  })
}
//用户发布信息的线上咨询点击量查询
export function pushzxundj() {
  return request({
    url: '/industry/spaceIndustry/getUserClickRate',
    method: 'get',
  })
}

//用户角色对应发布的产品信息点击量
export function getUsercxdj() {
  return request({
    url: '/industry/spaceIndustry/numberOfClicks',
    method: 'get',
  })
}
//用户角色对应发布的产品信息点击量
export function getOneUser() {
  return request({
    url: '/informfrontend/user/getOne',
    method: 'get',
  })
}
